package com.chinameyer.workorders.dto.orders;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;


/**
 * @Author meyer@HongYe
 */
@Data
@NoArgsConstructor
public class AddWorkOrdersDTO {
    @NotBlank(message = "编号不能为空")
    private String workOrderNo;
    @NotBlank(message = "产品品号不能为空")
    private String productNo;
    @NotBlank(message = "品名不能为空")
    private String productName;
    @NotBlank(message = "规格不能为空")
    private String specifications;
    @NotNull(message = "数量不能为空")
    private int amount;
    private String workingHours;
    @NotNull(message = "目录ID不能为空")
    private int catalogueId;
    private String modelBatch;
    private String technology;
}
